SPM: Move all SP-related info to SP context struct
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 23 May 2018 10:40:46 +0000 (11:40 +0100)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 23 May 2018 12:50:18 +0000 (13:50 +0100)
commit22282bb68a319a88f2fc0e6c98c13c42a4e0120b
tree54874542b86f0d88f768bf756f293f21184d96d8
parent1634cae89d0e62853f6addbbaef8557893ee5613
SPM: Move all SP-related info to SP context struct

Move all information related to a Secure Partition to the struct
secure_partition_context_t.

This requires an in-depth refactor because most of the previous code of
SPM relied on global information.

Change-Id: I0a23e93817dcc191ce1d7506b8bc671d376123c4
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
include/services/secure_partition.h
services/std_svc/spm/secure_partition_setup.c [deleted file]
services/std_svc/spm/sp_setup.c [new file with mode: 0644]
services/std_svc/spm/spm.mk
services/std_svc/spm/spm_main.c
services/std_svc/spm/spm_private.h